﻿using UnityConfiguration.Infrastructure;
using mpu = Microsoft.Practices.Unity;

namespace UnityConfiguration
{
    public class Lifetime : InstanceDescription, ITypeItem
    {
        /// <summary>
        /// Create the lifetime manager instance configured in this section.
        /// </summary>
        /// <returns>The lifetime manager configured.</returns>
        public mpu.LifetimeManager CreateLifetimeManager() {
            return CreateInstance<mpu.LifetimeManager>();
        }
    }
}
